import 'package:flutter/material.dart';

import '../../shared/shared.dart';
import '../../widgets/widgets.dart';

class SplashPage extends StatelessWidget {
  const SplashPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Stack(alignment: Alignment.center, children: [
      const Background(imageURL: AssetsURL.backgroundPicture1,filter: 0),
      roundEyes()
    ]);
  }

  Positioned roundEyes() {
    return Positioned(
        bottom: 82,
        child: Stack(alignment: Alignment.center, children: [
          Container(
              width: 50,
              height: 50,
              decoration: const BoxDecoration(
                  color: ColorConstants.themeColor, shape: BoxShape.circle)),
          Container(
              width: 28,
              height: 28,
              decoration: const BoxDecoration(
                  color: ColorConstants.primaryColor, shape: BoxShape.circle))
        ]));
  }
}
